AHardwareBuffer_Desc.layers

Number of images in an image array. AHardwareBuffers with one layer correspond to regular 2D textures. AHardwareBuffers with more than layer correspond to texture arrays. If the layer count is a multiple of 6 and the usage flag AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP is present, the buffer is a cube map or a cube map array.

struct AHardwareBuffer_Desc
uint layers;

Meta